package com.manager.entity;

import java.util.Date;

public class pettradinglist {
    private Integer id;

    private String buyerid;

    private Integer petid;

    private Date purchasetime;

    public pettradinglist() {
    }

    /*两者信息。*/
    public pettradinglist(String buyerid, Integer petid) {
        this.buyerid = buyerid;
        this.petid = petid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBuyerid() {
        return buyerid;
    }

    public void setBuyerid(String buyerid) {
        this.buyerid = buyerid == null ? null : buyerid.trim();
    }

    public Integer getPetid() {
        return petid;
    }

    public void setPetid(Integer petid) {
        this.petid = petid;
    }

    public Date getPurchasetime() {
        return purchasetime;
    }

    public void setPurchasetime(Date purchasetime) {
        this.purchasetime = purchasetime;
    }
}